// import req from "zk-pc-request";
import req from '@/common/request/request.js'
import {
	BASE_PREFIX
} from "@/api/config";
// 获取当前用户权限所有专题网格树
// export const list = () => req.get(BASE_PREFIX + '/danger/get_list.html');
export const list = (params) => req.post('/danger/get_list.html', {data: params});
export const getCateList = (params) => req.post('/danger/get_cate_list.html', {data: params});
export const upDanger = (params) => req.post('/danger/up_danger', {data: params});
export const getDetail = (params) => req.post('/danger/get_detail.html', {data: params});
export const pointDanger = (params) => req.post('/danger/point_danger.html', {data: params});
export const doDanger = (params) => req.post('/danger/do_danger.html', {data: params});
export const acceptDanger = (params) => req.post('/danger/accept_danger.html', {data: params});
export const deleteDanger = (params) => req.post('/danger/delete_danger.html', {data: params});
// export const getCateList = (params) => req.post('/danger/get_cate_list.html', {data: params});
